package com.atguigu.spzx;

import com.atguigu.spzx.common.exception.GlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

/**
 * 后台管理应用服务
 *
 * @author tom
 */
@SpringBootApplication
@MapperScan("com.atguigu.spzx.manager.mapper")
@Import(value = GlobalExceptionHandler.class)
public class ManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }

}